<?php

declare(strict_types=1);

namespace App\Model;

use App\Overwrites\MineModel;

/**
 * @property int $id 
 * @property int $member_id 用户ID
 * @property string $name 姓名
 * @property string $phone 手机号
 * @property string $id_card 身份证号
 * @property int $is_default 是否默认:0=否,1=是
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class Lessee extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'lessees';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'member_id', 'name', 'phone', 'id_card', 'is_default', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'member_id' => 'integer', 'is_default' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
